package com.jian.java.fallback;

import com.jian.java.service.MyService;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Jiange
 * @create 2021-06-04-20:49
 */
public class MyFallBcak{
    public static String handler(@PathVariable(value = "id",required = false) int id,Throwable e){
        return "解决了"+e.getMessage()+"----------(❤ ω ❤)---------------";
    }
}
